#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL.Experimental.Credit
{
     // <summary> 
	// ! Loss distribution with Hull-White bucketing  Loss distribution for varying volumes and probabilities of default, independence assumed.  The implementation of the loss distribution follows  John Hull and Alan White, "Valuation of a CDO and nth to default CDS without Monte Carlo simulation", Journal of Derivatives 12, 2, 2004.  \ingroup probability
	// </summary>
    [Guid ("75F3CDB9-C5AF-4bdf-8B22-A757775916D7"),ComVisible(true)]
	public interface ILossDistBucketing : Cephei.QL.Experimental.Credit.ILossDist
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 UInt64 Buckets {get;}
        
		 Double Maximum {get;}
    }

    // <summary> 
	// ! Loss distribution with Hull-White bucketing  Loss distribution for varying volumes and probabilities of default, independence assumed.  The implementation of the loss distribution follows  John Hull and Alan White, "Valuation of a CDO and nth to default CDS without Monte Carlo simulation", Journal of Derivatives 12, 2, 2004.  \ingroup probability Factory
	// </summary>
   	[ComVisible(true)]
    public interface ILossDistBucketing_Factory // : Collection_Factory<ILossDistBucketing, ICell<ILossDistBucketing>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    ILossDistBucketing Create (UInt64 nBuckets, Double maximum, Microsoft.FSharp.Core.FSharpOption<Double> epsilon);
    }
}

